Skip to content

Conversation

@x0ba
Copy link
Owner

@x0ba x0ba commented Dec 11, 2025

No description provided.

@vercel
Copy link

vercel bot commented Dec 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
course-schedule-calendar Ready Ready Preview Comment Dec 11, 2025 7:53am

@x0ba x0ba requested a review from Copilot December 11, 2025 07:33
@coderabbitai
Copy link

coderabbitai bot commented Dec 11, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch daniel/fix-dates

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR attempts to fix date handling in Google Calendar integration by replacing ISO 8601 UTC timestamps with local datetime strings paired with explicit timezone parameters. The changes include adding a timezone parameter to the createCalendar function and implementing a formatDateTimeLocal helper function.

Key changes:

  • Introduced formatDateTimeLocal function to format dates without timezone suffix
  • Replaced toISOString() calls with formatDateTimeLocal() for event start/end times
  • Added timezone parameter to createCalendar function with "UTC" default
  • Improved user-facing message during schedule analysis

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/server/services/google-calendar.ts Added formatDateTimeLocal function, replaced toISOString() with formatDateTimeLocal() for event times, added timezone parameter to createCalendar
src/server/api/routers/schedule.ts Extracted timezone variable for reuse, passed timezone to createCalendar
src/components/upload-zone.tsx Moved eslint-disable comment position, enhanced analyzing message with user guidance

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@x0ba x0ba merged commit c9d384b into main Dec 11, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants